import { createApp } from 'vue'
import '@/style.css'

import router from '@/router'
import store from './store/index'

import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'
import App from './App.vue'

import api from '@/utils/http'

import 'virtual:windi.css'

const app = createApp(App)

// 全局挂载axios
app.config.globalProperties.$http = api;

app.use(store)
app.use(router)
app.use(ElementPlus)
app.mount('#app')